package cn.itsource.pethome.constants;

public class BaseConstants {

    //店铺状态
    public class  Shop{
        public static final int STATE_WAIT_AUTID = 1 ; //"待审核";
        public static final int STATE_WAIT_ACTIVE = 2 ; //"审核通过，待激活";
        public static final int STATE_ACTIVE_SUCCESS = 3 ; //"激活成功";
        public static final int STATE_REJECT_AUDIT = 4 ; //"驳回";
    }

    //员工状态
    public class Employee{
        public static final int STATE_NORMAL = 1 ; //"正常",
        public static final int STATE_LOCK = 2 ; //"锁定",
        public static final int STATE_LOGOUT = 3 ; //"注销"
    }

    public class register{
        public static final String REGISTER = "REGISTER:" ; //注册的业务键,
        public static final String BINDER = "BINDER:" ; //绑定的业务键,
    }

    public class User{
        public static final int STATE_REGISTERED = 1 ; //已注册,
        public static final int STATE_ACTIVATED = 2 ; //已激活,
        public static final int STATE_DISABLE = 3 ; //禁用
    }

    public class WxConstants{
        public static final String APPID = "wxd853562a0548a7d0";
        public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";
        public static final String GETACCESS_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
        public static final String GETWXUSER_URL ="https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";
    }
}